package me.zhengjie.modules.website.service;

import me.zhengjie.modules.website.domain.Topics;
import org.springframework.data.domain.Pageable;
import me.zhengjie.modules.website.domain.PageResult;

import java.util.List;

/**
 * @author system
 * @since 2024-12-02 17:12:28
 */
public interface  TopicsService {

    PageResult<Topics> findPage(Topics params, Pageable pageable);

    List<Topics> findList(Topics params);

    Topics findById(Long id);

    Topics insert(Topics topics);

    Topics update(Topics topics);

    void delete(Long id);

}